import { _decorator } from "cc";
import { ecs } from "db://app-game/libs/ecs/ECS";
import { CCComp } from "db://app-game/module/common/CCComp";
import { MapE } from "../Map";

const { ccclass, property } = _decorator;

/** 地图视图组件 */
@ccclass("MapViewComp")
@ecs.register("MapView", false)
export class MapViewComp extends CCComp {
  protected onLoad(): void {
    let map = this.ent as MapE;
  }
  reset(ent: ecs.Entity): void {
    this.node.destroy();
  }
}
